package com.allen.study;

import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//import org.springframework.cloud.openfeign.EnableFeignClients;
//import org.springframework.context.annotation.ComponentScan;

/**
 * 应用启动类
 *
 * @author AllenSun
 * @since 2025-04-23 20:46
 */
@SpringBootApplication
//@ComponentScan(value = {
//        // 必须：本项目扫描路径
//        "com.allen.study"
//})
// 这两个是springCloud的注解，暂时不用
//@EnableDiscoveryClient
//@EnableFeignClients
@Log4j2
@EnableCaching
public class Application {

    /**
     * 启动项
     *
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
